/**
 * 
 */
package kr.co.insoft.auth.model.members;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author IN-SOFT Inc. GoodwillDD(sylee@in-soft.co.kr)
 * 
 */
@XmlRootElement
public class JoinFormModel implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -771324604458758719L;
	Long id;
	String username;
	String nickname;
	String password;
	String confirmPassword;
	boolean company;
	List<String> auths;

	public String toString() {
		StringBuffer buf = new StringBuffer();
		buf.append("username : " + username + "\n");
		buf.append("id : " + id + "\n");
		buf.append("nickname : " + nickname + "\n");
		buf.append("isCompany : " + company + "\n");
		return buf.toString();
	}

	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * @param username
	 *            the username to set
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * @return the nickname
	 */
	public String getNickname() {
		return nickname;
	}

	/**
	 * @param nickname
	 *            the nickname to set
	 */
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * @param password
	 *            the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * @return the confirmPassword
	 */
	public String getConfirmPassword() {
		return confirmPassword;
	}

	/**
	 * @param confirmPassword
	 *            the confirmPassword to set
	 */
	public void setConfirmPassword(String confirmPassword) {
		this.confirmPassword = confirmPassword;
	}

	/**
	 * @return the company
	 */
	public boolean isCompany() {
		return company;
	}

	/**
	 * @param company
	 *            the company to set
	 */
	public void setCompany(boolean company) {
		this.company = company;
	}

	/**
	 * @return the auths
	 */
	public List<String> getAuths() {
		return auths;
	}

	/**
	 * @param auths
	 *            the auths to set
	 */
	public void setAuths(List<String> auths) {
		this.auths = auths;
	}

}
